package com.mku.wms_service.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mku.wms_service.common.QueryPageParam;
import com.mku.wms_service.common.Response;
import com.mku.wms_service.dto_vo.LoginDTO;
import com.mku.wms_service.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author maoxx
 * @since 2024-11-22
 */
public interface IUserService extends IService<User> {

    Response<User> login(LoginDTO loginDTO);

    Response<User> findByNo(String no);

    Response<Page<User>> listPage(QueryPageParam qp2);

    Response<User> delete(Integer id);

    Response<User> add(User user);
}
